package com.ruoyi.activiti.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import java.util.Date;

/**
 * 员工基本考勤信息对象 t_attend
 * 
 * @author lifan
 * @date 2021-04-08
 */
public class Attend extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    @Excel(name = "ID")
    private Long id;

    /** 部门 */
    @Excel(name = "部门")
    private String department;

    /** 考勤号码 */
    @Excel(name = "考勤号码")
    private Long num;

    /** 姓名 */
    @Excel(name = "姓名")
    private String employeeName;

    /** 日期时间 */
    @Excel(name = "日期时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date date;

    /** 机器号 */
    @Excel(name = "机器号")
    private Long machineNo;

    /** 编号 */
    @Excel(name = "编号")
    private Long number;

    /** 对比方式 */
    @Excel(name = "对比方式")
    private String compare;

    /** 卡号 */
    @Excel(name = "卡号")
    private Long cardNumber;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setDepartment(String department) 
    {
        this.department = department;
    }

    public String getDepartment() 
    {
        return department;
    }
    public void setNum(Long num) 
    {
        this.num = num;
    }

    public Long getNum() 
    {
        return num;
    }
    public void setEmployeeName(String employeeName) 
    {
        this.employeeName = employeeName;
    }

    public String getEmployeeName() 
    {
        return employeeName;
    }
    public void setDate(Date date) 
    {
        this.date = date;
    }

    public Date getDate() 
    {
        return date;
    }
    public void setMachineNo(Long machineNo) 
    {
        this.machineNo = machineNo;
    }

    public Long getMachineNo() 
    {
        return machineNo;
    }
    public void setNumber(Long number) 
    {
        this.number = number;
    }

    public Long getNumber() 
    {
        return number;
    }
    public void setCompare(String compare) 
    {
        this.compare = compare;
    }

    public String getCompare() 
    {
        return compare;
    }
    public void setCardNumber(Long cardNumber) 
    {
        this.cardNumber = cardNumber;
    }

    public Long getCardNumber() 
    {
        return cardNumber;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("department", getDepartment())
            .append("num", getNum())
            .append("employeeName", getEmployeeName())
            .append("date", getDate())
            .append("machineNo", getMachineNo())
            .append("number", getNumber())
            .append("compare", getCompare())
            .append("cardNumber", getCardNumber())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
